package com.zz.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zz.dao.TestUserDAO;
import com.zz.service.TestUserService;
import com.zz.vo.TestUser;

@Service("testUserService")
public class TestUserServiceImpl implements TestUserService {
	
	@Resource
	private TestUserDAO testUserDAO;
	
	public TestUser getUserById(int userId){
		return this.testUserDAO.selectByPrimaryKey((short)userId);
	}
	
}
